package op_ed_meth0d_override01;

public class test {
    public static void main(String[] args) {
        manger mg = new manger(2001,"小王",20000,100000);
        mg.eat();
        mg.work();
        System.out.println("----------------------");
        cooker ck = new cooker(2003,"小刘",21000);
        ck.eat();
        ck.work();
    }
}
